package org.dromara.tearoom.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.tearoom.domain.TerCleanerLog;

/**
 * 保洁记录业务对象 ter_cleaner_log
 *
 * @author ckj
 * @date 2025-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerCleanerLog.class, reverseConvertGenerate = false)
public class TerCleanerLogBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 订单ID
     */
    @NotBlank(message = "ID不能为空", groups = { EditGroup.class,AddGroup.class })
    private String orderId;

    /**
     * 房间ID
     */
    @NotNull(message = "房间ID不能为空", groups = { AddGroup.class })
    private Long roomId;

    /**
     * 保洁内容
     */
    @NotBlank(message = "保洁内容不能为空", groups = { AddGroup.class })
    private String content;

    /**
     * 保洁人
     */
    @NotNull(message = "保洁人ID不能为空", groups = { AddGroup.class })
    private Long sysUserId;

    /**
     * 保洁人名称
     */
    private String sysUserName;


}
